//package com.chaos.app;
//import org.springframework.boot.SpringApplication;
//import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
//import org.springframework.boot.autoconfigure.SpringBootApplication;
//import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
//import org.springframework.boot.web.support.SpringBootServletInitializer;
//import org.springframework.context.annotation.ComponentScan;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.context.annotation.ImportResource;
//import org.springframework.transaction.annotation.EnableTransactionManagement;
//import org.springframework.web.servlet.config.annotation.EnableWebMvc;
//import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
//
//import com.chaos.util.EmbedZookeeperServer;
//
//
//
//
///**
// * @author Administrator
// *@date 2017年9月28日
// */
//@SpringBootApplication
//@EnableTransactionManagement
//@EnableAutoConfiguration(exclude = { DataSourceAutoConfiguration.class })
//@ComponentScan(basePackages={"com.chaos"})
//public class Application  extends SpringBootServletInitializer{
//
//    public static void main(String[] args){
//    	EmbedZookeeperServer.start(2181);
//        SpringApplication.run(Application.class, args);
//
//    }
//
//
//
//}
//
